from Page import Page
from selenium import webdriver
import pytest,time

class Test_sou():
    @pytest.fixture
    def driver(self):
        driver = webdriver.Edge()
        driver.maximize_window()
        driver.implicitly_wait(10)
        yield driver
        time.sleep(3)
        driver.close()

    def test_01_sou(self,driver):
        po = Page(driver)
        po.luoji_01_search()